package com.cloud.basic.Callback;

/**
 * @program: basic
 * @description: 代理类
 * @author: Cloud
 * @create: 2021/4/17 13:39:27
 */
public class Proxy implements Callback {
    private Callback callback;

    public Proxy(Callback callback){
        System.out.println(1);
        this.callback = callback;
    }

    @Override
    public void execute() {
        callback.execute();
    }
}
